﻿@model ApCMS.Models.NewsModels
@{
    ViewBag.Title = "新闻动态";
}
@section Header{
    <a href="@Url.Action("Index", "News")" data-icon="back">返回</a>
    <h1>@(ViewBag.Title)</h1>
    <a href="@Url.Action("Index", "Home")" data-icon="grid">首页</a>
}
@if (Model != null)
{
    if (Model.Article != null)
    {
    <div class="divContent">
        <h3>
            @(Model.Article.Title)</h3>
        <p>
            <span>发布者：@(Model.Article.Author)
                @(string.Format("{0:yyyy-MM-dd}", Model.Article.ModifyTime))</span></p>
        <p>
            @Html.Raw(Model.Article.Content ?? "暂无信息......")</p>
    </div>
    }
}